'use strict';
module.exports = app => {
    const { BIGINT, STRING, JSON, INTEGER } = app.Sequelize;
    return app.model.define('configs', {
        id: {
            type: BIGINT,
            field: 'id',
            primaryKey: true,
            autoIncrement: true,
        },
        key: STRING,
        value: JSON,
        status: INTEGER,
    });
};